package com.edu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 网站统计cpu、磁盘、网络带宽使用率
 * </p>
 *
 * @author GongChengShi
 * @since 2021-01-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class EduStatisticsComputer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 统计日期
     */
    @TableField("STATISTICS_TIME")
    private LocalDateTime statisticsTime;

    /**
     * cpu使用率
     */
    @TableField("CPU_USAGE")
    private String cpuUsage;

    /**
     * 内存使用率
     */
    @TableField("MEMORY_USAGE")
    private String memoryUsage;

    /**
     * 网络使用率
     */
    @TableField("NET_USAGE")
    private String netUsage;


}
